from __future__ import division
total = 0
choice = 0
print "Welcome to YAC 0.01 Alpha"
print "By: Joe Green & Justin Moore"
print
total = input("Please type a number: ")
while choice != "menu":
    print
    print "your sum is now: ", str(total)
    print
    choice = raw_input("Choose an option: \n [A]dd \n [S]ubtract \n [M]ultiply \n [D]ivide \n [R]efresh current sum \n [menu]  return to main menu: ")
    print
    if choice == "a":
        x = input("Add sum to: ")
        total = total + x
        
    if choice == "m":
        x = input(" Multiply sum by: ")
        total = total * x

    if choice == "s":
        x = input("Subtract sum from: ")
        total = total - x

    if choice == "d":
        x = input("Divide sum by: ")
        total = total / x

    if choice == "r":
        total = input("Please type a new number: ")

    
        
        
